//
//  ViewController.m
//  xy_UIScrollView
//
//  Created by xuyu on 16/1/28.
//  Copyright © 2016年 xuyu. All rights reserved.
//

#import "ViewController.h"
#import "XYPageView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    XYPageView *pageView =[XYPageView pageView];
    pageView.frame=CGRectMake(0, 20,self.view.frame.size.width, 150);
    pageView.imageNames =@[@"img_01",@"img_02",@"img_03",@"img_04",@"img_05"];
    [self.view addSubview:pageView];
}

@end
